<?php
class NavigationView {

	const RegisterIndex = "registrera";
	const EventIndex = "Event";

	const LoginView = "LoginView";
	const RegisterView = "RegisterView";

	public function GetRegisterIndex() {
		return "index.php?" . self::RegisterIndex;

	}

	public function GetIndexEvent() {

		return "index.php?" . self::EventIndex;
	}

	public function GetadressToIndex() {
 
		return "index.php?";
	}

	public function IsRegisterControllerActive() {

		if (isset($_GET[NavigationView::RegisterIndex])) {
			return true;
		}
		//No input
		return false;
	}
	
	public static function GetUrlToEventIndex() {
		return "index.php?" . self::EventIndex;
	}
	
	

	public function IsEventControllerActive() {

		if (isset($_GET[NavigationView::EventIndex])) {
			return true;
		}

		//No input
		return false;

	}


}
